home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'RichEdit.pas' rev: 3.00
-
- #ifndef RichEditHPP
- #define RichEditHPP
- #include <Windows.hpp>
- #include <Messages.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
- #include <RichEdit.h>
-
- namespace Richedit
- {
- //-- type declarations -------------------------------------------------------
- struct TCharFormatA
- {
- int cbSize;
- int dwMask;
- int dwEffects;
- int yHeight;
- int yOffset;
- int crTextColor;
- Byte bCharSet;
- Byte bPitchAndFamily;
- char szFaceName[32];
- } ;
-
- struct TCharFormatW
- {
- int cbSize;
- int dwMask;
- int dwEffects;
- int yHeight;
- int yOffset;
- int crTextColor;
- Byte bCharSet;
- Byte bPitchAndFamily;
- wchar_t szFaceName[32];
- } ;
-
- typedef TCharFormatA TCharFormat;
-
- typedef _charrange TCharRange;
-
- struct TTextRangeA
- {
- _charrange chrg;
- char *lpstrText;
- } ;
-
- struct TTextRangeW
- {
- _charrange chrg;
- wchar_t *lpstrText;
- } ;
-
- typedef TTextRangeA TTextRange;
-
- typedef int __stdcall (*TEditStreamCallBack)(int dwCookie, Windows::PByte pbBuff, int cb, int &pcb);
-
-
- typedef _editstream TEditStream;
-
- struct TFindTextA
- {
- _charrange chrg;
- char *lpstrText;
- } ;
-
- struct TFindTextExA
- {
- _charrange chrg;
- char *lpstrText;
- _charrange chrgText;
- } ;
-
- struct TFindTextW
- {
- _charrange chrg;
- wchar_t *lpstrText;
- } ;
-
- struct TFindTextExW
- {
- _charrange chrg;
- wchar_t *lpstrText;
- _charrange chrgText;
- } ;
-
- typedef TFindTextA TFindText;
-
- typedef _formatrange TFormatRange;
-
- typedef _paraformat TParaFormat;
-
- struct TCharFormat2A
- {
- int cbSize;
- int dwMask;
- int dwEffects;
- int yHeight;
- int yOffset;
- int crTextColor;
- Byte bCharSet;
- Byte bPitchAndFamily;
- char szFaceName[32];
- Word wWeight;
- short sSpacing;
- int crBackColor;
- int lid;
- int dwReserved;
- short sStyle;
- Word wKerning;
- Byte bUnderlineType;
- Byte bAnimation;
- Byte bRevAuthor;
- Byte bReserved1;
- } ;
-
- struct TCharFormat2W
- {
- int cbSize;
- int dwMask;
- int dwEffects;
- int yHeight;
- int yOffset;
- int crTextColor;
- Byte bCharSet;
- Byte bPitchAndFamily;
- wchar_t szFaceName[32];
- Word wWeight;
- short sSpacing;
- int crBackColor;
- int lid;
- int dwReserved;
- short sStyle;
- Word wKerning;
- Byte bUnderlineType;
- Byte bAnimation;
- Byte bRevAuthor;
- Byte bReserved1;
- } ;
-
- typedef TCharFormat2A TCharFormat2;
-
- struct TParaFormat2
- {
- int cbSize;
- int dwMask;
- Word wNumbering;
- Word wReserved;
- int dxStartIndent;
- int dxRightIndent;
- int dxOffset;
- Word wAlignment;
- short cTabCount;
- int rgxTabs[32];
- int dySpaceBefore;
- int dySpaceAfter;
- int dyLineSpacing;
- short sStyle;
- Byte bLineSpacingRule;
- Byte bCRC;
- Word wShadingWeight;
- Word wShadingStyle;
- Word wNumberingStart;
- Word wNumberingStyle;
- Word wNumberingTab;
- Word wBorderSpace;
- Word wBorderWidth;
- Word wBorders;
- } ;
-
- typedef _msgfilter *PMsgFilter;
-
- typedef _msgfilter TMsgFilter;
-
- struct TReqSize;
- typedef TReqSize *PReqSize;
-
- struct TReqSize
- {
- tagNMHDR nmhdr;
- Windows::TRect rc;
- } ;
-
- typedef _selchange *PSelChange;
-
- typedef _selchange TSelChange;
-
- struct TEndDropFiles
- {
- tagNMHDR nmhdr;
- int hDrop;
- int cp;
- BOOL fProtected;
- } ;
-
- typedef _enprotected *PENProtected;
-
- typedef _enprotected TENProtected;
-
- typedef _ensaveclipboard *PENSaveClipboard;
-
- typedef _ensaveclipboard TENSaveClipboard;
-
- #pragma pack(push, 1)
- struct TENOleOpFailed
- {
- tagNMHDR nmhdr;
- int iob;
- int lOper;
- HRESULT hr;
- } ;
- #pragma pack(pop)
-
- #pragma pack(push, 1)
- struct TObjectPositions
- {
- tagNMHDR nmhdr;
- int cObjectCount;
- int *pcpPositions;
- } ;
- #pragma pack(pop)
-
- struct TENLink
- {
- tagNMHDR nmhdr;
- int msg;
- int wParam;
- int lParam;
- _charrange chrg;
- } ;
-
- typedef _encorrecttext TENCorrectText;
-
- typedef _punctuation TPunctuation;
-
- typedef _compcolor TCompColor;
-
- typedef _repastespecial TRepasteSpecial;
-
- enum UNDONAMEID { UID_UNKNOWN, UID_TYPING, UID_DELETE, UID_DRAGDROP, UID_CUT, UID_PASTE };
-
- struct TGetTextEx
- {
- int cb;
- int flags;
- int codepage;
- char *lpDefaultChar;
- BOOL *lpUsedDefChar;
- } ;
-
- struct TGetTextLengthEx
- {
- int flags;
- int codepage;
- } ;
-
- //-- var, const, procedure ---------------------------------------------------
- #define RICHEDIT_CLASS10A "RICHEDIT"
- #define TM_PLAINTEXT (Byte)(1)
- #define TM_RICHTEXT (Byte)(2)
- #define TM_SINGLELEVELUNDO (Byte)(4)
- #define TM_MULTILEVELUNDO (Byte)(8)
- #define TM_SINGLECODEPAGE (Byte)(16)
- #define TM_MULTICODEPAGE (Byte)(32)
- #define FT_MATCHCASE (Byte)(4)
- #define FT_WHOLEWORD (Byte)(2)
-
- } /* namespace Richedit */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Richedit;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // RichEdit
-